"SSLHandshakeException" when establishing a secure connection in a MERN application
"SSLHandshakeException" when establishing a secure connection in a MERN application
576
04-Aug-2023
Updated on 04-Aug-2023
Aryan Kumar
04-Aug-2023An SSKHandshakeException is a type of error that can occur when you are trying to establish a secure connection (HTTPS) in a MERN application. This error can be caused by a variety of factors, such as:
httpsmodule and then setting theprotocolproperty of yourappobject tohttps.protocolproperty of yourrequestobject tohttps.opensslto verify the certificate.Here are some tips for troubleshooting SSKHandshakeException errors:
protocolproperty of yourappobject.protocolproperty of yourrequestobject.opensslto verify the certificate that is being used by the server.If you are still having trouble troubleshooting SSKHandshakeException errors, you can ask for help on a forum or chat room like Stack Overflow or Node.js Discord.